package com.wingscode.modules.common.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wingscode.modules.common.entity.AdvertisementEntity;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 广告
 *
 * @author yan
 */
@Mapper
public interface AdvertisementDao extends BaseMapper<AdvertisementEntity> {
    IPage<AdvertisementEntity> getList(IPage<AdvertisementEntity> page, @Param("title") String title, @Param("userName") String userName, @Param("startTime") String startTime,
                                       @Param("endTime") String endTime, @Param("type") Integer type, @Param("dicId") Integer dicId);
}
